package com.traffic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 汇总时间表对象 per_report_time_settings
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
public class PerReportTimeSettings extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long id;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 上报时间区间的开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报时间区间的开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportStartDate;

    /** 上报时间区间的结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报时间区间的结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportEndDate;

    /** 是否锁定，0：未锁定，1：已锁定 */
    @Excel(name = "是否锁定，0：未锁定，1：已锁定")
    private String isLocked;

    /** 创建人编号 */
    @Excel(name = "创建人编号")
    private Long createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setReportStartDate(Date reportStartDate) 
    {
        this.reportStartDate = reportStartDate;
    }

    public Date getReportStartDate() 
    {
        return reportStartDate;
    }
    public void setReportEndDate(Date reportEndDate) 
    {
        this.reportEndDate = reportEndDate;
    }

    public Date getReportEndDate() 
    {
        return reportEndDate;
    }
    public void setIsLocked(String isLocked) 
    {
        this.isLocked = isLocked;
    }

    public String getIsLocked() 
    {
        return isLocked;
    }
    public void setCreatedBy(Long createdBy) 
    {
        this.createdBy = createdBy;
    }

    public Long getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("unitName", getUnitName())
            .append("reportStartDate", getReportStartDate())
            .append("reportEndDate", getReportEndDate())
            .append("isLocked", getIsLocked())
            .append("createdBy", getCreatedBy())
            .append("creatTime", getCreatTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
